package org.example;

import redis.clients.jedis.Jedis;

/**
 * @author kylin
 * @date 2020/4/18
 * @desc jedis 的标准连接
 */
public class BasicTest {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.165.7", 6379);
        jedis.set("qilou", "2673");
        System.out.println(jedis.get("qilou"));
        jedis.close();
    }
}
